package com.example.klaraservice.service.impl;

import com.example.klaraservice.dao.MangerMapper;
import com.example.klaraservice.pojo.Manger;
import com.example.klaraservice.service.MangerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author : Glacialerisa
 * @date : 2023/6/18 12:51
 * @desc :
 */
@Service
public class MangerServiceImpl implements MangerService {
    @Autowired
    private MangerMapper mangerMapper;
    @Override
    public Manger login(String phone, String password) {
        return mangerMapper.selectMangerByPhoneAndPassword(phone, password);
    }
}
